import { Vector3 } from "@minecraft/server";

/**队伍数据 */
export interface BlockedTeamData {
    color: BlockedTeamColors;
    spawnPoint?: Vector3;
}

/**队伍颜色 */
export type BlockedTeamColors = "red" | "blue" | "green" | "yellow";
export const BlockedTeamColorMap: Record<
    BlockedTeamColors,
    { color: string; name: string }
> = {
    red: { color: "§c", name: "红队" },
    blue: { color: "§b", name: "蓝队" },
    green: { color: "§a", name: "绿队" },
    yellow: { color: "§e", name: "黄队" },
};

/**游戏配置项 */
export interface BlockedInCombatConfig {
    mapIndex: number;
    liveCnt: number;
}
